package com.glela.platform.mapper;

import com.glela.platform.model.Advertisement;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdvertisementMapper {
	/**
	 * @Description: 查询除了type类型值以外的广告集合
	 * @Author: zhangrenjie
	 * @Date: 2018/1/12 17:17
	 *
	 */
	public List<Advertisement> selectAdvertisement(@Param("type") int type);
	/**
	 * @Description: 查询自动生效的广告列表
	 * @Author: zhangrenjie
	 * @Date: 2018/1/18 14:37
	 *
	 */
	public List<Advertisement> selectAdvertisementAll(@Param("nowTime") String nowTime);
}
